Create Contact
AutomatR.HubSpot.Activities.CreateContact
The "Create Contact" activity in AutomatR for HubSpot facilitates the creation of a new contact with various attributes in a HubSpot user's account. This activity is part of the HubSpot activities package and simplifies the process of adding contacts to HubSpot.
Properties
Name | Description |
---|---|
Input | |
Enter the unique email address of the new contact. String variables containing the email address. | |
First Name | Enter the first name for the contact. String variables containing the first name. |
Last Name | Enter the last name for the contact. String variables containing the last name. |
Job Title | Enter the job title for the contact. String variables containing the job title. |
Life Cycle Stage | Enter the life cycle stage for the contact from predefined values in HubSpot (e.g., marketingqualifiedlead). String variables containing the life cycle stage. |
Lead Status | Enter the lead status for the contact from predefined values in HubSpot (e.g., New). String variables containing the lead status. |
Owner ID | Enter the existing owner ID in the HubSpot user's account to which the contact will be assigned. String variables containing the owner ID. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Enter the wait time in seconds (e.g., 5 seconds) to start the activity. Integer variables containing the delay duration. |
Output | |
Result | Returns the response as a HubSpotContactCreatedResult object. Variables of type HubSpotContactCreatedResult to store the operation result. |
How to Use
- Drag and drop the "Create Contact" activity onto the workflow.
- Configure the properties by specifying the email address, first name, last name, job title, life cycle stage, lead status, and owner ID for the new contact.
- Optionally, configure the delay and customize the display name.
- Execute the workflow to create the contact in HubSpot.
Example:
Consider an example where the "Create Contact" activity is used to add a new contact to HubSpot:
Create Contact:
Display Name: "Add New Contact"
Email: "john.doe@example.com"
First Name: "John"
Last Name: "Doe"
Job Title: "Software Engineer"
Life Cycle Stage: "marketingqualifiedlead"
Lead Status: "New"
Owner ID: "123456"
Result: hubSpotContactResult
In this example, the activity creates a new contact with the email address "john.doe@example.com," first name "John," last name "Doe," job title "Software Engineer," life cycle stage "marketingqualifiedlead," lead status "New," and assigns it to the owner with ID "123456." The result of the operation is stored in the variable hubSpotContactResult
for further handling in the workflow.